﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class Manage_LikeGoodsInfo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    { 
        if (string.IsNullOrEmpty(Request.QueryString["cg"].ToString()))
        {
            HZ.Web.WebUtil.Alert("获取数据错误,请联系管理员。", this);
            return;
        }
        if (!IsPostBack)
        {
            Bind(); 
        }
    }
    private void Bind()
    {
        DataTable dt = BLL_Factory.IBLL_Company.GetLikecg(Request["cg"].ToString());
        gv1.DataSource = dt;
        gv1.DataBind();
    }
}